package com.audaque.springboot.foshanupload.web.docdemo.model.rsp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 行为告警实例
 * </p>
 *
 * @author zgb
 * @since 2023-04-26
 */
@Data
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "AlarmInstance响应", description = "行为告警实例响应")
public class AlarmInstanceRsp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Integer id;


    @ApiModelProperty(value = "该条报警信息对应的所有行为告警实例详情id  多个逗号分隔")
    private String behaviourAlarmInstanceDetailIds;


    @ApiModelProperty(value = "操作用户id")
    private String optUserId;


    @ApiModelProperty(value = "操作用户名称")
    private String optUserName;


    @ApiModelProperty(value = "行为规则id")
    private Integer behaviourRuleId;


    @ApiModelProperty(value = "行为规则名称")
    private String behaviourRuleName;


    @ApiModelProperty(value = "最新一条告警实例详情id，页面显示连表查询用")
    private Integer behaviourAlarmInstanceDetailLatestId;


    @ApiModelProperty(value = "OA处理状态 1：待派发；2：待处理，3：已处理，4：已作废")
    private Integer oaHandleStatus;


    @ApiModelProperty(value = "告警配置id集合")
    private String alarmConfigIds;


    @ApiModelProperty(value = "告警配置任务名称")
    private String alarmTaskName;


    @ApiModelProperty(value = "告警通知方式集合，1：企业微信，2：邮箱 多个逗号分隔 1,2")
    private String noticeWays;


    @ApiModelProperty(value = "告警通知时间集合  多个逗号分隔")
    private String noticeTimes;


    @ApiModelProperty(value = "触发类型集合，1：即时，2：指定时间  多个逗号分隔")
    private String triggerTypes;


    @ApiModelProperty(value = "接收用户id集合（不是派发用户id,派发按钮绑定角色）")
    private String noticeReceiveUserIds;


    @ApiModelProperty(value = "接收用户名称集合（不是派发用户id,派发按钮绑定角色）")
    private String noticeReceiveUserNames;


    @ApiModelProperty(value = "当前处理人id")
    private String oaCurrentHandleUserId;


    @ApiModelProperty(value = "当前处理人姓名")
    private String oaCurrentHandleUserName;


    @ApiModelProperty(value = "告警次数  同一个用户同一个规则实例同一个周期")
    private Integer alarmNum;

    //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


    @ApiModelProperty(value = "触发次数")
    private Integer behaviourAlarmInstanceDetailSize;


    @ApiModelProperty(value = "操作数据量")
    private Integer optNum;


}
